Release 10.1A: OpenEdge Development:
Java Open Clients
Preparing and managing temp-table parameters
Java clients can access 4GL
TABLEorTABLE-HANDLEparameters using the following Java classes and interfaces:
INPUTparameters — Any class that implements thejava.sql.ResultSetinterface.OUTPUTparameters — An instance ofjava.sql.ResultSetHolder, which contains a class that implements thecom.progress.open4gl.ProResultSetinterface, which extends thejava.sql.ResultSetinterface.INPUT-OUTPUTparameters — An instance of thecom.progress.open4gl.ResultSetHolderclass that contains a reference to a client-supportedjava.sql.ResultSetobject instance. On output, theResultSetHoldercontains an instance ofcom.progress.open4gl.ProResultSet.For more information on the
java.sql.ResultSetinterface, see the relevant JavaSoft publications.Progress provides the abstract class,
com.progress.open4gl.InputResultSet, which provides part of an implementation ofjava.sql.ResultSet. You can extend this class to implement your own inputResultSetobjects. For more information, see the "Passing a TABLE or TABLE-HANDLE as an INPUT parameter" section.The
java.sql.ResultSetinterface allows you to get the values of columns in the underlying temp-table. The extensions in theProResultSetinterface allow you to get the values of Progress fields, especially array fields, in a more Progress-like manner. For more information on how to access column and field values using theProResultSetinterface, see the "Accessing TABLE or TABLE-HANDLE parameters as OUTPUT" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |